import numpy as np
import pandas as pd

# 用值列表生成 Series 时，Pandas 默认自动生成整数索引：
s = pd.Series([1, 3, 5, np.nan, 6, 8])
print(s)
